package com.csyf.manager;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

@Slf4j
@SpringBootApplication
@ComponentScan(value = {"com.csyf.manager"})
@MapperScan(basePackages="com.csyf.manager.dao")
@EnableAutoConfiguration
@ServletComponentScan
@EnableScheduling
public class CsfyManagerApplication {

	public static void main(String[] args) {
		SpringApplication.run(CsfyManagerApplication.class, args);
		log.info("ADMINPAY 启动成功 \n" +
			"    _______      .-'''-. .-------.    ____       ____     __  			\n" +
			"   /   __  \\    / _     \\\\  _(`)_ \\ .'  __ `.    \\   \\   /  / 	\n" +
			"  | ,_/  \\__)  (`' )/`--'| (_ o._)|/   '  \\  \\    \\  _. /  '  		\n" +
			",-./  )       (_ o _).   |  (_,_) /|___|  /  |     _( )_ .'   			\n" +
			"\\  '_ '`)      (_,_). '. |   '-.-'    _.-`   | ___(_ o _)'    		\n" +
			" > (_)  )  __ .---.  \\  :|   |     .'   _    ||   |(_,_)'     		\n" +
			"(  .  .-'_/  )\\    `-'  ||   |     |  _( )_  ||   `-'  /      		\n" +
			" `-'`-'     /  \\       / /   )     \\ (_ o _) / \\      /       		\n" +
			"   `._____.'    `-...-'  `---'      '.(_,_).'   `-..-'        			\n" +
			"                                                              			");
	}



}
